import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
	
  public navlists = [
    { name:'案例',       navigator:'CasesPage',       icon:'briefcase'},
    { name:'一键求助',     navigator:'RankingPage',     icon:'help-circle' },
    { name:'论坛',       navigator:'ForumPage',       icon:'cafe' }
  ];

  constructor(public navCtrl: NavController) {

  }
  getDiamondsFn(){
    console.log('getDiamondsFn fn clicked');
  }

  navigatorFn(nav){
  	this.navCtrl.push(nav.navigator);
  }

}
